<?php 

class Shop_Model_OrderHistory extends Zend_Db_Table
 {
       	protected $_name="orders_history";
       	protected $_primary = 'id';
        
 		public function insertOrderHistory($arrParam = null, $option = null)
	  	{		  		
	  		$row = $this->fetchNew();		  	
			$row->ordersid       =$arrParam['ordersid'];						
			$row->update_date       =date('Y-m-d h:i:s',time());
			$row->status       =$arrParam['status'];
			$row->note       =$arrParam['note'];			
		  	return $row->save();
	  	}
 }

?>